from pywebio3.input import input, NUMBER, input_group
from pywebio3.output import print

year = input('年份', type=NUMBER)
is_leap_year = year % 4 == 0 and year % 100 != 0 or year % 400 == 0
print(f"{year}年是否为闰年: {is_leap_year}")
